﻿@model PilotProject.TestToken
           
@{
     ViewBag.Title = "Index";
     Layout = "~/Views/Shared/_ExaminerLayout.cshtml";
}       

    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

     <link href="../../Content/items1/forms.css" rel="stylesheet" type="text/css" />   
     <script src="../../Scripts/testdate.js" type="text/javascript"></script>
@{
    Html.EnableClientValidation(true);
}

@using (Html.BeginForm("CreateTestToken", "ScheduleTest"))
{

    
@* <span style="color:Red">@Html.ValidationSummary()</span>*@
    
  <div id="form" class="myform">
    <fieldset>
        <legend>Create New Test Token</legend>
        @Html.HiddenFor(item => item.Candidate.Id)


        <div class="pos">
         @Html.Label("Test Type : Jump Pilot")
        </div>
            
        <div class="pos">
        <label>ARN<span class="small">Add ARN</span></label>
        <div id="arn">
            <p>  @Html.Label(@Model.Candidate.ARN) </p>
        </div></div>
              
        <div class="pos">
        <label>First Name<span class="small">Add your first name</span></label>            
                <div id="firstname"> 
                    <p>  @Html.Label(@Model.Candidate.FirstName)</p>
                </div></div>

        <div class="pos">
        <label>Last Name<span class="small">Add your last name name</span></label>
               <div id="lastname"> 
                    <p>  @Html.Label(@Model.Candidate.LastName)</p>
                  </div></div>

        <div class="pos">
        <label>Test Date<span class="small">Select Test Date</span></label>
            <div id="testDate">
             <p>&nbsp @Html.EditorFor(modelitem => modelitem.TestDate)</p>
             <p>&nbsp @Html.ValidationMessage("Select Test Date : ")</p>
        </div></div>
    

    <div class="pos">
        <label>New JPA<span class="small">Add Examiner's JPA</span></label>
            <div id="jpa"><p>&nbsp 
            @Html.EditorFor(modelitem => modelitem.Examiner.JPA)</p>
            <p>&nbsp @Html.ValidationMessage("Set Examiner's JPA : ")</p>
        </div></div>

        <p>
            <input type="submit" name = "buttonName" value="Generate Test Token"  class="saveBut"/>
        </p>
        <p>
            <input id="Cancel" type="submit" name = "buttonName" value="Cancel" class = "cancel"/>
        </p>


    </fieldset>
    </div>
}   


    












